package com.zhang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ZhangJunqi
 * @Date 2022/2/3 -20:32
 */
@RestController
public class HelloWorldController {
    @GetMapping("/hello")
    public String helloWorld(){
        return "hello world";
    }
}
